package com.learn.core.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * Description
 *
 * @author zhaohongyu
 * @ClassName LCompetitionTarget
 * @date 2021.05.28 10:25
 * @describe 竞赛分组表
 */
@TableName("l_competition_target")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value="LCompetitionTarget对象", description="竞赛分组表")
public class LCompetitionTarget implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "competition_target_id", type = IdType.AUTO)
    private Integer competitionTargetId;

    @ApiModelProperty(value = "发布对象分类 0机构1分组2用户3职业")
    @TableField("competition_target_type")
    private String competitionTargetType;

    @ApiModelProperty(value = "竞赛id")
    @TableField("competition_id")
    private Integer competitionId;

    @ApiModelProperty(value = "发布对象")
    @TableField("competition_target")
    private String competitionTarget;

    public Integer getCompetitionTargetId() {
        return competitionTargetId;
    }

    public void setCompetitionTargetId(Integer competitionTargetId) {
        this.competitionTargetId = competitionTargetId;
    }

    public String getCompetitionTargetType() {
        return competitionTargetType;
    }

    public void setCompetitionTargetType(String competitionTargetType) {
        this.competitionTargetType = competitionTargetType;
    }

    public Integer getCompetitionId() {
        return competitionId;
    }

    public void setCompetitionId(Integer competitionId) {
        this.competitionId = competitionId;
    }

    public String getCompetitionTarget() {
        return competitionTarget;
    }

    public void setCompetitionTarget(String competitionTarget) {
        this.competitionTarget = competitionTarget;
    }
}
